package com.fhz.mvitest2.state

import com.fhz.mvitest.entity.ResponseEntity
import com.fhz.mvitest2.entity.UserEntity

/**
 * 时间:2023/5/23
 * @author Mr.Feng
 * 简述: TODO
 */
sealed class LoginUIState {
    data class Success(val res: ResponseEntity<UserEntity>) : LoginUIState()
    data class Fail(val res: ResponseEntity<UserEntity>) : LoginUIState()
    object loading:LoginUIState()
    object Init:LoginUIState()
}